package com.sneaker.shower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sneaker.shower.entity.domain.organization.OrganizationDO;
import com.sneaker.shower.entity.dto.OfflinePayOrgInfoDTO;
import com.sneaker.shower.entity.dto.OrganizationDTO;

import java.util.List;

/**
 * @author Hechangjian
 * @version 1.0
 * @className OrganizationService
 * @date 2019/12/01 1:55
 * @description
 * @program bath
 */
public interface OrganizationService extends IService<OrganizationDO> {
    boolean addOrganization(OrganizationDTO dto);

    boolean delOrganization(String guid, String name);

    boolean modifyOrganization(OrganizationDTO dto);

    List<OrganizationDTO> listOrganization();

    OrganizationDTO currentOrganization(String longitude, String latitude);

    Boolean checkStatus();

    OfflinePayOrgInfoDTO checkQrCode(String encryptStr);

    OrganizationDTO getMainOrg();


}
